 

<#if page??&&page.totalPages gt 1 >
<input type="hidden" id="pageSize" name="pageSize" value="${(page.pageSize)!20}" />
	<div class="page">
 
		<#if page.hasPre>
			<a class="prev" href="active.html?pageNumber=${page.prePage}&order=${order!''}">pre</a>
		<#else>
			 
		</#if>
		<#if page.totalPages lte 5>
			<#list 1..page.totalPages as p>
						<#if p==page.pageNo>
							<span >${p}</span>
						<#else>
							<a href="active.html?pageNumber=${p}&order=${order!''}">${p}</a>	
						</#if>
			</#list>
		<#else>
			<#if page.pageNo lte 3>
					<#list 1..5 as p>
						<#if p==page.pageNo>
							<span >${p}</span>
						<#else>
							<a href="active.html?pageNumber=${p}&order=${order!''}">${p}</a>	
						</#if>
					</#list>
					 ... 	
			</#if>
			<#if (page.pageNo+2) gte page.totalPages>
					 ... 
					<#list (page.totalPages-5)..page.totalPages as p>
						<#if p==page.pageNo>
							<span  >${p}</span>
						<#else>
							<a href="active.html?pageNumber=${p}&order=${order!''}">${p}</a>	
						</#if>
					</#list>		
			</#if>
			<#if !((page.pageNo+2) gte page.totalPages)&&!(page.pageNo lte 3)>
					 ... 
					<#list (page.pageNo-2)..(page.pageNo+2) as p>
						<#if p==page.pageNo>
							<span  >${p}</span>
						<#else>
							<a href="active.html?pageNumber=${p}&order=${order!''}">${p}</a>	
						</#if>
					</#list>
					 ... 	
			</#if>
		</#if>
		<#if page.hasNext>
			<a class="next" href="active.html?pageNumber=${page.nextPage}&order=${order!''} ">next </a>
		<#else>
			 
		</#if>


	</div>
<#else>
 
</#if>